#ifndef HTTP_FUNC_H
#define HTTP_FUNC_H

#include "Http.h"

class ReqNotice;
void requestActive(HttpCallBack callback, HttpCallBack error);

void sendData(String temp,float vcc,int vcc_pin,bool water,int waterValue);
void sendData(float temp, float humi, float weight, int solid_humi, int sun, float ntc_temp);
void requestUpgrade();
void sendNotice(ReqNotice req);

String parseMacAddress(String addr);



#endif